#!/usr/bin/python3

import requests

# 发送请求
response = requests.get('https://www.runoob.com/')
# 返回网页内容
# print(response.text)
print(response.status_code)  # 获取响应状态码
print(response.reason)  # 响应状态的描述
print(response.apparent_encoding)  # 返回编码